<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.ICM" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:53946/CommitteeService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" />
  <xs:complexType name="Committee">
    <xs:sequence>
      <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ComFunctionId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ComPositionId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="ComTypeId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CommitteeFunction" nillable="true" type="tns:IcmMasLookUp" />
      <xs:element minOccurs="0" name="CommitteeGroup" nillable="true" type="tns:CommitteeGroup" />
      <xs:element minOccurs="0" name="CommitteeGroupId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CommitteeId" type="xs:int" />
      <xs:element minOccurs="0" name="CommitteePosition" nillable="true" type="tns:IcmMasLookUp" />
      <xs:element minOccurs="0" name="CommitteeType" nillable="true" type="tns:IcmMasLookUp" />
      <xs:element minOccurs="0" name="CreatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DeleteReason" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EmpId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="EmpName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EmpPositionName" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/KPIS.GERP.Models.HRM" minOccurs="0" name="Employee" nillable="true" type="q1:Employee" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Committee" nillable="true" type="tns:Committee" />
  <xs:complexType name="IcmMasLookUp">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreatedBy" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LookUpId" type="xs:int" />
      <xs:element minOccurs="0" name="LookUpName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LookUpTypeId" type="xs:int" />
      <xs:element minOccurs="0" name="MasLookUpType" nillable="true" type="tns:IcmMasLookUpType" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="IcmMasLookUp" nillable="true" type="tns:IcmMasLookUp" />
  <xs:complexType name="IcmMasLookUpType">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreatedBy" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedWhen" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LookUpTypeId" type="xs:int" />
      <xs:element minOccurs="0" name="LookUpTypeName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdatedBy" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="UpdatedWhen" nillable="true" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="IcmMasLookUpType" nillable="true" type="tns:IcmMasLookUpType" />
  <xs:complexType name="CommitteeGroup">
    <xs:sequence>
      <xs:element minOccurs="0" name="CommitteeGroupId" type="xs:int" />
      <xs:element minOccurs="0" name="Committees" nillable="true" type="tns:ArrayOfCommittee" />
      <xs:element minOccurs="0" name="CreateByPprId" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="RecordStatus" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CommitteeGroup" nillable="true" type="tns:CommitteeGroup" />
  <xs:complexType name="ArrayOfCommittee">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Committee" nillable="true" type="tns:Committee" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCommittee" nillable="true" type="tns:ArrayOfCommittee" />
</xs:schema>